<!-- BEGIN PAGE CONTENT-->
<div class="row">
  <div class="col-md-12 portlet">
      <div class="portlet-body">

        <table class="col-md-6 table table-hover">
          <tr ><td width="25%">Number</td><td>{{block.number | bigNumber}}</td></tr>
          <tr ><td width="25%">Time</td>
                <td>{{block.datetime | date:'yyyy-MM-dd HH:mm:ss Z' }} ({{block.timestamp | timeDuration}} ago)</td>
          </tr>
          <tr ><td width="25%">Hash</td><td>{{block.hash}}</td></tr>
          <tr ><td width="25%">parentHash</td><td><a href="/block/{{block.number - 1}}">{{block.parentHash}}</td></tr>
          <tr ><td width="25%">sha3 Uncles</td><td>{{block.sha3Uncles}}</td></tr>
          <tr ><td width="25%">Signed By</td><td><a href="/addr/{{block.miner}}">{{block.miner}}</td></tr>
          <tr ><td width="25%">Difficulty</td><td>{{block.difficulty | bigNumber}}</td></tr>
          <tr ><td width="25%">Total Difficulty</td><td>{{block.totalDifficulty | bigNumber}}</td></tr>
          <tr ><td width="25%">Gas Limit</td><td>{{block.gasLimit | bigNumber}}</td></tr>
          <tr ><td width="25%">Gas Used</td><td>{{block.gasUsed | bigNumber}}</td></tr>
          <tr ><td width="25%">nonce</td><td>{{block.nonce}}</td></tr>
          <tr ><td width="25%">Extra Data</td><td>{{block.extraData}}</td></tr>
        </table>
    </div>
    <!--TODO: calculate block reward -->

  </div>
    <!-- Begin: Transaction Datatable -->
  <div class="portlet portlet-datatable col-md-12">
     <div class="portlet-body">
    <table class="table table-condensed">
        <thead>
            <tr>
                <th>Transactions</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="t in block.transactions">
                <td> <a href="/tx/{{t}}">{{t}}</a> </td>
            </tr>
        </tbody>
    </table>
      </div>
    </div><!-- End: portlet -->
</div>
